from django import forms


class LessonChooseForm(forms.Form):
    ID = forms.IntegerField(required=False, min_value=0, initial=0)
    teacher_name = forms.CharField(required=False)
    lesson_name = forms.CharField(required=False, initial='%%')


class SetTimeForm(forms.Form):
    t1m = forms.IntegerField(required=True, min_value=1, max_value=12, initial=1)
    t2d = forms.IntegerField(required=True, min_value=1, max_value=31, initial=1)
    t2m = forms.IntegerField(required=True, min_value=1, max_value=12, initial=1)
    t1d = forms.IntegerField(required=True, min_value=1, max_value=31, initial=1)
